<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;


class Article extends Model
{
    use SoftDeletes;

    const STATUS_OFF = 1, STATUS_ON = 2;
    protected $table = "article";


    protected $dates = ['deleted_at'];
    protected $fillable = [
        'user_id', 'title', 'content', 'status','class_id'
    ];

}
